package com.yykt.myapp.config;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.util.HashMap;

@Data
@Component
public class GlobalUser {

    public HashMap<String, String> globalMap = new HashMap<>();

    @PostConstruct
    private void init() {
        globalMap.put("aaa", "aaa");
        globalMap.put("ccc", "ccc");
        globalMap.put("bbb", "bbb");

    }

}
